// components/yxy-chat/mess-elements/mess-text/mess-text.js
import { parseText } from '../../../base/message-facade.js';

Component({
    /**
     * 组件的属性列表
     */
    properties: {
        message: {
            type: Object,
            value: {},
            observer(newVal) {
                this.setData({
                    renderDom: parseText(newVal),
                });
            },
        },
        isMine: {
            type: Boolean,
            value: true,
        },
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {

    }
})
